<?php
namespace yunj\facade;

use yunj\Facade;

/**
 * Class YT
 * @see \yunj\library\builder\YunjTable
 * @mixin \yunj\library\builder\YunjTable
 * @method mixed init(string $id) static 设置表格ID
 * @method mixed url(string $url) static 设置请求地址
 * @method mixed page(bool $is_enable = true) static 设置是否开启分页
 * @method mixed limit(int $num = 20) static 设置每页显示条数
 * @method mixed state(mixed $code,string $title='') static 设置状态
 * @method mixed filter(mixed $state,array $options=[]) static 设置筛选表单
 * @method mixed toolbar(mixed $state,string $group='',array $options=[]) static 设置表格头部工具栏
 * @method mixed defaultToolbar(mixed $state,array $options=[]) static 设置表格头部工具栏右侧的图标按钮
 * @method mixed cols(mixed $state,string $type='',array $options=[],string $group='',string $align='center',string $fixed='') static 设置表头
 * @method mixed count(mixed $callback) static 设置数量
 * @method mixed items(mixed $callback) static 设置当前显示的数据项
 * @method mixed assign(mixed $controller) static 控制器输出
 * @deprecated 已弃用
 */
class YT extends Facade {

    protected static function getFacadeClass(){
        return '\yunj\library\YunjTable';
    }

}